package com.iflytek.model;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 轮播图
 * @author h_t
 * @since 2023-09-23
 */

@Data
@TableName("t_banner")
@ApiModel(value="Banner对象")
public class Banner implements Serializable {

    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "序号,新增不传",example="1")
    private Long id;

    @TableField(value = "img")
    @ApiModelProperty(value = "图片地址")
    private String img;

    @TableField(value = "url")
    @ApiModelProperty(value = "关联url")
    private String url;

}
